//
//  DemoPayTests.m
//  OCUnitPlus
//
//  Created by William Zhao on 13-8-6.
//  Copyright (c) 2013年 William Zhao. All rights reserved.
//

#import "DemoPayTests.h"
#import "YKViewController.h"

@interface DemoPayTests() {
    YKViewController* _viewController;
}

@end

@implementation DemoPayTests

- (void)setUp
{
    [super setUp];
    
    _viewController = [[YKViewController alloc] init];
}

- (void)tearDown
{
    [_viewController release];
    
    [super tearDown];
}

- (void)testPay
{
    BOOL result = [_viewController pay];
    if(!result)
        STFail(@"pay error");
}

@end
